home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 34
/
Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso
/
Aminet
/
util
/
wb
/
THE.lha
/
T.H.E.
/
REXX
/
OS3.5
/
CloseActiveWin.rexx
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
OS/2 REXX Batch file
|
1999-10-25
|
263 b
|
17 lines
/*
$VER: CloseActiveWin.rexx 1.1 (25.10.99) Copyright (c) Nils Görs.
Closes the active workbench window.
*/
options results
ADDRESS WORKBENCH
GETATTR OBJECT WINDOWS.ACTIVE
IF result ~= "root" THEN activewin = result
ELSE EXIT
WINDOW activewin CLOSE